<?php
/**
 * 
 * Configuration file connection database
 * Database settings: host, database, username, password, type
 * 
 */
define("host", "localhost");
define("database", "khoinghiep");
define("username", "root");
define("password", "");
define("type", "mysql");

/**
 * 
 * Configuration key file
 * 
 */
$app = "app";
$app_module = "app/modules";
$lib = "lib";
$sys = "system";
$module = "modules";
$css_module = substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'));

define("EXT", ".php");

define("APP_PATH", realpath($app) . DIRECTORY_SEPARATOR);

define("APP_MODULE_PATH", realpath($app_module) . DIRECTORY_SEPARATOR);

define("LIB_PATH", realpath($lib) . DIRECTORY_SEPARATOR);

define("SYS_PATH", realpath($sys) . DIRECTORY_SEPARATOR);

define("MODULE_PATH", realpath($module) . DIRECTORY_SEPARATOR);

define("CSS_HOME_PATH", $css_module . "/app/modules/home/");

require_once APP_PATH . "bootstrap" . EXT;
?>
